﻿namespace Cos.Module.Membership.NHibernate.Tests
{
    using Cos.Core.NHibernate;

    using FluentNHibernate;

    public class TestModel : PersistenceModel
    {
        public TestModel()
        {
            this.AddMappingsFromAssembly(typeof(UserDataModel).Assembly);
            this.AddMappingsFromAssembly(typeof(CustomUserFieldCultureDataModel).Assembly);
            this.AddMappingsFromAssembly(typeof(CustomUserFieldDataModel).Assembly);
            this.AddMappingsFromAssembly(typeof(PageGroupAccessDataModel).Assembly);
            this.AddMappingsFromAssembly(typeof(UsersInRoleDataModel).Assembly);
            this.AddMappingsFromAssembly(typeof(RoleDataModel).Assembly);
        }
    }
}
